import Vue from 'vue'
import VueRouter from 'vue-router'
import Goods from '@/components/goods'
import Ratings from '@/components/ratings'
import Seller from '@/components/seller'

Vue.use(VueRouter)

export default new VueRouter({
	mode: 'history',
	routes: [
		{path:"/",redirect:'/goods'},
		{path:"/goods",component:Goods},
		{path:"/ratings",component:Ratings},
		{path:"/seller",component:Seller},
	]
})